<layout name='Layout/layout_main' />
<script type="text/javascript">
	function save() {
		sendForm("form_data", "{:U('save')}");
	}
</script>
<div class="mailaccount">
	<div class="row-fluid title">
		<span>邮件帐户设置</span>
	</div>
	<form method='post' id="form_data">
		<input type="hidden" id="ajax" name="ajax" value="0">
		<input type="hidden" id="opmode" name="opmode" value="{$opmode}">
		<div class="form_box">
			<div class="row-fluid form-horizontal">
				<div class="control-group">
					<label class="control-label" for="status">邮件显示名称：</label>
					<div class="controls">
						<input type="text" name="mail_name" value="{$mail_user.mail_name}" >
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="status">邮件地址：</label>
					<div class="controls">
						<input type="text" name="email" value="{$mail_user.email}" >
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="status">接收服务器：</label>
					<div class="controls">
						<input type="text" name="pop3svr" value="{$mail_user.pop3svr}" >
						<span class="help-inline">例如：pop.qq.com</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="status">发送服务器：</label>
					<div class="controls">
						<input type="text" name="smtpsvr" value="{$mail_user.smtpsvr}" >
						<span class="help-inline">例如：smtp.qq.com</span>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="status">用户名：</label>
					<div class="controls">
						<input type="text" name="mail_id" value="{$mail_user.mail_id}" >
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="status">密码：</label>
					<div class="controls">
						<input type="password" name="mail_pwd" value="{$mail_user.mail_pwd}" >
					</div>
				</div>
			</div>
<div class="action">
<input class="btn default" type="button" value="保存" onclick="save();">
		</form>
	</div>
</div>